package org.jeecg.common.modules.registerRefoundAudit.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 退款审核
 * @Author: jeecg-boot
 * @Date:   2021-09-29
 * @Version: V1.0
 */
@Data
@TableName("register_refound_audit")
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="register_refound_audit对象", description="退款审核")
public class RegisterRefoundAudit implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**openid*/
	@Excel(name = "openid", width = 15)
    @ApiModelProperty(value = "openid")
    private String openid;
	/**运营审批*/
	@Excel(name = "运营审批", width = 15)
    @ApiModelProperty(value = "运营审批")
    private String operateAudit;
	/**运营审批人*/
	@Excel(name = "运营审批人", width = 15)
    @ApiModelProperty(value = "运营审批人")
    private String operateName;
	/**运营驳回原因*/
	@Excel(name = "运营驳回原因", width = 15)
    @ApiModelProperty(value = "运营驳回原因")
    private String operateReason;
    /**运营审批日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "运营审批日期")
    private Date operateTime;
	/**财务审批*/
	@Excel(name = "财务审批", width = 15)
    @ApiModelProperty(value = "财务审批")
    private String financialAudit;
	/**财务审批人*/
	@Excel(name = "财务审批人", width = 15)
    @ApiModelProperty(value = "财务审批人")
    private String financialName;
	/**财务驳回原因*/
	@Excel(name = "财务驳回原因", width = 15)
    @ApiModelProperty(value = "财务驳回原因")
    private String financialReason;
    /**财务审批日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "财务审批日期")
    private Date financialTime;
	/**退款状态，0-申请退款，1-运营审核同意，2-运营审核驳回，3-财务审核通过，4-财务审核驳回，5-完成退款*/
	@Excel(name = "退款状态，0-申请退款，1-运营审核同意，2-运营审核驳回，3-财务审核通过，4-财务审核驳回，5-完成退款", width = 15)
    @ApiModelProperty(value = "退款状态，0-申请退款，1-运营审核同意，2-运营审核驳回，3-财务审核通过，4-财务审核驳回，5-完成退款")
    private Integer status;
	/**支付id*/
	@Excel(name = "支付id", width = 15)
    @ApiModelProperty(value = "支付id")
    private String registerPayOrderId;
	/**默认微信支付*/
	@Excel(name = "默认微信支付", width = 15)
    @ApiModelProperty(value = "默认微信支付")
    private String payTime;


    /**医生ID*/
    @Excel(name = "医生ID", width = 15)
    @ApiModelProperty(value = "医生ID")
    private String doctorId;
    /**关联ID，支付关联退款，退款关联支付*/
    @Excel(name = "关联ID，支付关联退款，退款关联支付", width = 15)
    @ApiModelProperty(value = "关联ID，支付关联退款，退款关联支付")
    private String relationId;



    /**申请日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "申请日期")
    private Date requestTime;
    /**手机号*/
    @Excel(name = "手机号", width = 15)
    @ApiModelProperty(value = "手机号")
    private String mobile;
    /**患者姓名*/
    @Excel(name = "患者姓名", width = 15)
    @ApiModelProperty(value = "患者姓名")
    private String patientName;
    /**医生姓名*/
    @Excel(name = "doctor_name", width = 15)
    @ApiModelProperty(value = "医生姓名")
    private String doctorName;
    /**患者昵称*/
    @Excel(name = "nick_name", width = 15)
    @ApiModelProperty(value = "患者昵称")
    private String nickName;
    /**身份证号*/
    @Excel(name = "id_card", width = 15)
    @ApiModelProperty(value = "身份证号")
    private String idCard;
    /**协商退款原因*/
    @Excel(name = "协商退款原因", width = 15)
    @ApiModelProperty(value = "协商退款原因")
    private String xsResion;
}
